import axios from '@/utils/requestKc'


//获取配置信息
export const ManageList = (data) => {
    return axios({
        method: 'get',
        url: `/knowclub-api/common/config-manage/list?parentTag=${data.title}`,
        data
    })
}

//获取俱乐部列表
export const KcNownClub = (data) => {
    return axios({
        method: 'get',
        url: `/knowclub-api/knowclub/kc-club/list?pageNo=${data.pageNum}&pageSize=${data.pageSize}&viewsNumSort=ASC`,
        data
    })
}
//获取文章列表
export const KcArticleList = (data) => {
    return axios({
        method: 'get',
        url: `/knowclub-api/knowclub/kc-club-article/articleList?pageNo=${data.pageNum}&pageSize=${data.pageSize}&viewsNumSort=ASC`,
        data
    })
}
//knowCol登录
export const LoginXp = (data) => {
    return axios({
        method: 'post',
        url: '/knowclub-api/knowclub/kc-client-auth/login',
        data
    })
}
//注册
export const SignInKnownClub = (data) => {
    return axios({
        method: 'post',
        url: '/knowclub-api/knowclub/kc-client-auth/register',
        data
    })
}
//首页的三个图文
export const HomePicture = (data) => {
    return axios({
        method: 'get',
        url: '/knowclub-api/knowclub/kc-home-content/list',
        data
    })
}
//首页的三个图文
export const whykcWork = (data) => {
    return axios({
        method: 'get',
        url: '/knowclub-api/knowclub/kc-work/list',
        data
    })
}
//首页的clubsList
export const clubsList = (data) => {
    return axios({
        method: 'get',
        url: `/knowclub-api/knowclub/kc-club/list?pageNo=${data.pageNum}&pageSize=${data.pageSize}&viewsNumSort=DESC`,
        data
    })
}
//首页的最后一个列表
export const ArticleList = (data) => {
    return axios({
        method: 'get',
        url: `/knowclub-api/knowclub/kc-club-article/articleList?pageNo=${data.pageNum}&pageSize=${data.pageSize}&viewsNumSort=DESC`,
        data
    })
}
//请求俱乐部列表
export const ClubList = (data) => {
    return axios({
        method: 'get',
        url: `/knowclub-api/knowclub/kc-club/list?pageNo=${data.pageNum}&pageSize=8&industryOne=${data.industryOne}&industryTwo=${data.industryTwo}&clubName=${data.clubName}&clubIdSort=DESC&subscriptionSort=${data.subscriptionSort}&FansNumSort=${data.FansNumSort}`,
        data
    })
}
//请求俱乐部列表
export const ClubLists = (data) => {
    return axios({
        method: 'get',
        url: `/knowclub-api/knowclub/kc-club/list?pageNo=${data.pageNum}&pageSize=16&industryOne=${data.industryOne}&industryTwo=${data.industryTwo}&clubName=${data.clubName}&clubIdSort=DESC&subscriptionSort=${data.subscriptionSort}&FansNumSort=${data.FansNumSort}`,
        data
    })
}
//请求俱乐部列表
export const PopularClubList = (data) => {
    return axios({
        method: 'get',
        url: `/knowclub-api/knowclub/kc-club/list?pageNo=${data.pagePopNum}&pageSize=8&viewsNumSort=DESC`,
        data
    })
}
//suggest for you
export const SuggestForYouList = (data) => {
    return axios({
        method: 'get',
        url: `/knowclub-api/knowclub/kc-club/list?pageNo=${data.pageNumStree}&pageSize=8&clubIdSort=DESC&industryOne=&industryTwo=`,
        data
    })
}
//knowClub Contents
export const ShuffleList = (data) => {
    return axios({
        method: 'get',
        url: `/knowclub-api/knowclub/kc-club-article/shuffleList?pageNo=${data.pageNumFour}&pageSize=4`,
        data
    })
}
//knowClub Contents
export const ArticeList = (data) => {
    return axios({
        method: 'get',
        url: `/knowclub-api/knowclub/kc-club-article/articleList?pageNo=${data.pageNum}&pageSize=8&industryOne=${data.industryOne}&industryTwo=${data.industryTwo}&title=${data.clubName}&searchUserId=&topSort=DESC`,
        data
    })
}
//俱乐部创建人信息
export const ClubFounderInformation = (data) => {
    return axios({
        method: 'get',
        url: `/knowclub-api/knowclub/kc-client-auth/getUserInfo?userId=${data.userId||''}`,
        data
    })
}
//举报用户
export const ReportUsers = (data) => {
    return axios({
        method: 'post',
        url: `/knowclub-api/knowclub/kc-report/create-kc-user`,
        data
    })
}
//ClubsList
export const ClbusList = (data) => {
    return axios({
        method: 'get',
        url: `/knowclub-api/knowclub/kc-club/list?pageNo=${data.pageNum}&pageSize=${data.pageSize}&clubIdSort=DESC&clubUserId=${data.userId||''}`,
        data
    })
}
//收藏俱乐部
export const CollectionClub = (data) => {
    return axios({
        method: 'put',
        url: `/knowclub-api/knowclub/favorite/favoriteClub?clubId=${data.clubId}&groupId=${data.groupId}`,
        data
    })
}
//取消收藏俱乐部
export const CancelCollectionClub = (data) => {
    return axios({
        method: 'delete',
        url: `/knowclub-api/knowclub/favorite/deleteFavoriteClub?clubId=${data.clubId}`,
        data
    })
}
//Article
export const ArticleListPorifile = (data) => {
    return axios({
        method: 'get',
        url: `/knowclub-api/knowclub/kc-club-article/articleList?pageNo=${data.paeNum}&pageSize=${data.pageSize}&searchUserId=${data.userId||''}&topSort=DESC&title=&industryOne=&industryTwo=`,
        data
    })
}
//俱乐部people also view
export const PeopleAlsoView = (data) => {
    return axios({
        method: 'get',
        url: `/knowclub-api/knowclub/kc-club/list?pageNo=1&pageSize=15&fansNumSort=DESC`,
        data
    })
}
//俱乐部inspire by trends
export const InspireByTrends = (data) => {
    return axios({
        method: 'get',
        url: `/knowclub-api/knowclub/kc-club/list?pageNo=1&pageSize=15&clubIdSort=DESC`,
        data
    })
}
//俱乐部inspire by trends
export const InspireByTrendsss = (data) => {
    return axios({
        method: 'get',
        url: `/knowclub-api/knowclub/kc-club/list?pageNo=1&pageSize=4&clubIdSort=DESC`,
        data
    })
}
//俱乐部recently view 
export const RecentlyView = (data) => {
    return axios({
        method: 'get',
        url: `/knowclub-api/knowclub/kc-club/viewClubLog?userId=${data.userId||''}`,
        data
    })
}
//俱乐部people also
export const PeopleAlso = (data) => {
    return axios({
        method: 'get',
        url: `/knowclub-api/knowclub/kc-club-article/articleList?pageNo=1&pageSize=10&favoriteNumSort=DESC`,
        data
    })
}
//tenrendsList
export const TenrendsList = (data) => {
    return axios({
        method: 'get',
        url: `/knowclub-api/knowclub/kc-club-article/articleList?pageNo=1&pageSize=10&idSort=DESC`,
        data
    })
}
//recently view
export const RecentlyArtile = (data) => {
    return axios({
        method: 'get',
        url: `/knowclub-api/knowclub/kc-club-article/viewArticleList?userId=${data.userId||''}`,
        data
    })
}
//收藏分组数据
export const ClubsGroup = (data) => {
    return axios({
        method: 'get',
        url: `/knowclub-api/knowclub/favorite/page?pageNo=-1&pageSize=10&name=${data.name||''}&type=${data.type}`,
        data
    })
}
//创建分组
export const CreateClubs = (data) => {
    return axios({
        method: 'put',
        url: `/knowclub-api/knowclub/favorite/create?name=${data.name}&type=${data.type}`,
        data
    })
}
//俱乐部详情
export const ClubsDetils = (data) => {
    return axios({
        method: 'get',
        url: `/knowclub-api/knowclub/kc-club/getClubInfo?clubId=${data.clubId}`,
        data
    })
}
//相关俱乐部
export const RelatedClubs = (data) => {
    return axios({
        method: 'get',
        url: `/knowclub-api/knowclub/kc-club/relatedClub?clubId=${data.userId||''}`,
        data
    })
}
//俱乐部文章
export const ClubArticle = (data) => {
    return axios({
        method: 'get',
        url: `/knowclub-api/knowclub/kc-club-article/articleList?pageNo=${data.pageNum}&pageSize=${data.pageSize}&clubId=${data.clubId}&topSort=DESC`,
        data
    })
}
//俱乐部文章详情
export const GetArticleInfo = (data) => {
    return axios({
        method: 'get',
        url: `/knowclub-api/knowclub/kc-club-article/getArticleInfo?articleId=${data.articleId}`,
        data
    })
}
//收藏文章
export const FavoriteArticle = (data) => {
    return axios({
        method: 'put',
        url: `/knowclub-api/knowclub/favorite/favoriteArticle?groupId=${data.groupId}&articleId=${data.articleId}`,
        data
    })
}
//取消收藏文章
export const CancelCollectionArtic = (data) => {
    return axios({
        method: 'delete',
        url: `/knowclub-api/knowclub/favorite/deleteFavoriteArticle?articleId=${data.articleId}`,
        data
    })
}
//举报文章
export const ReportArticles = (data) => {
    return axios({
        method: 'post',
        url: `/knowclub-api/knowclub/kc-report/reportArticle`,
        data
    })
}
//举报俱乐部
export const ReportClub = (data) => {
    return axios({
        method: 'post',
        url: `/knowclub-api/knowclub/kc-report/reportClub`,
        data
    })
}
//文章评论列表
export const ArticleReviewList = (data) => {
    return axios({
        method: 'get',
        url: `/knowclub-api/knowclub/kc-club-article-comment/articleComment?pageNo=${data.pageNum}&pageSize=${data.pageSize}0&articleId=${data.articleId}`,
        data
    })
}
//文章评论点赞
export const ArticleReviewLike = (data) => {
    return axios({
        method: 'get',
        url: `/knowclub-api/knowclub/kc-club-article-comment/commentUpvote?foreignId=${data.id}`,
        data
    })
}
//发布评论
export const PostArticleReview = (data) => {
    return axios({
        method: 'post',
        url: `/knowclub-api/knowclub/kc-club-article-comment/postComment`,
        data
    })
}
//推荐文章
export const RecommendeArticle = (data) => {
    return axios({
        method: 'put',
        url: `/knowclub-api/knowclub/kc-club-article/getArticleMayLike?articleId=${data.id}`,
        data
    })
}
//卖家信息编辑
export const SellerUserDetails = (data) => {
    return axios({
        method: 'get',
        url: `/knowclub-api/knowclub/kc-client-user-detail-seller/getEdit`,
        data
    })
}
//卖家更新用户详情
export const SellerUpdatesUserDetails = (data) => {
    return axios({
        method: 'post',
        url: '/knowclub-api/knowclub/kc-client-user-detail-seller/updateSeller',
        data
    })
}
//我创建的俱乐部列表卖家
export const ListClubsCreated = (data) => {
    return axios({
        method: 'get',
        url: `/knowclub-api/knowclub/kc-club-user-center/myClub?pageNo=${data.pageNum}&pageSize=5&clubIdSort=DESC`,
        data
    })
}
//已创建的俱乐部信息
export const InformationAboutClubs = (data) => {
    return axios({
        method: 'get',
        url: `/knowclub-api/knowclub/kc-club-user-center/myClubInfo?clubId=${data.clubId}`,
        data
    })
}
// {
//     /* <div @click="router.push('/BuyUsePersonalHome')" class="view hand">View</div>
//     <div @click="router.push('/BuyKnowUseMyProfile')" class="view hand">Edit</div> */
// }
//获取买家用户信息
export const BuyUserinfo = (data) => {
    return axios({
        method: 'get',
        url: '/knowclub-api/knowclub/kc-client-user-detail-buyer/getBuyerInfo',
        data
    })
}
//获取买家用户信息
export const BuyUserinfos = (data) => {
    return axios({
        method: 'get',
        url: '/knowclub-api/knowclub/kc-client-user-detail-buyer/getBuyerInfo',
        data
    })
}
//创建俱乐部信息
export const SellCreateClub = (data) => {
    return axios({
        method: 'post',
        url: '/knowclub-api/knowclub/kc-club-user-center/createClub',
        data
    })
}
//创建俱乐部标签
export const SellTagsList = (data) => {
    return axios({
        method: 'get',
        url: `/knowclub-api/knowclub/kc-tags/tagsList?pageNo=${data.pageNum}&pageSize=${data.pageSize}&type=${data.type}`,
        data
    })
}
//展示卖家信息
export const DisplaySellerInformation = (data) => {
    return axios({
        method: 'get',
        url: `/knowclub-api/knowclub/kc-client-user-detail-seller/getView?userId=${data.userId||''}`,
        data
    })
}
// 文章列表
export const CreateArticleList = (data) => {
    return axios({
        method: 'get',
        url: `/knowclub-api/knowclub/kc-club-article-user-center/getMyArticle?pageNo=${data.pageNum}&pageSize=${data.pageSize}&clubId=${data.clubId}&dateSearch=${data.dateSearch}&title=${data.title}&tagIds=${data.tagIds}&minPrice=${data.minPrice}&maxPrice=${data.maxPrice}`,
        data
    })
}
// 全部文章列表
export const AllCreateArticleList = (data) => {
    return axios({
        method: 'get',
        // url: `/knowclub-api/knowclub/kc-club-article-user-center/getMyArticleAll?pageNo=${data.pageNum}&pageSize=${data.pageSize}&dateSearch=${data.dateSearch}`,
        url: `/knowclub-api/knowclub/kc-club-article-user-center/getMyArticleAll?pageNo=${data.pageNum}&pageSize=${data.pageSize}`,
        data
    })
}
// 更新俱乐部
export const UpdateTheClub = (data) => {
    return axios({
        method: 'put',
        url: `/knowclub-api/knowclub/kc-club-user-center/updateClub`,
        data
    })
}
// 删除俱乐部
export const DeleteAClub = (data) => {
    return axios({
        method: 'delete',
        url: `/knowclub-api/knowclub/kc-club-user-center/deleteClub?clubId=${data.clubId}`,
        data
    })
}
// 创建文章
export const CreateAnArticle = (data) => {
    return axios({
        method: 'post',
        url: `knowclub-api/knowclub/kc-club-article-user-center/createArticle`,
        data
    })
}
// 上传图片
export const UpDataImage = (data) => {
    return axios({
        method: 'post',
        url: `/knowclub-api/common/file/upload`,
        data
    })
}

// 更新文章
export const UpdateArticles = (data) => {
    return axios({
        method: 'put',
        url: `/knowclub-api/knowclub/kc-club-article-user-center/updateArticle`,
        data
    })
}
// 获取文章回显数据
export const GetArticleEcho = (data) => {
    return axios({
        method: 'get',
        url: `/knowclub-api/knowclub/kc-club-article-user-center/getMyArticleInfo?articleId=${data.articleId}`,
        data
    })
}
// 删除文章
export const DeleteleEcho = (data) => {
    return axios({
        method: 'delete',
        url: `/knowclub-api/knowclub/kc-club-article-user-center/deleteArticle?articleId=${data.articleId}`,
        data
    })
}
// 我的收藏分组
export const MyCollectionGroup = (data) => {
    return axios({
        method: 'get',
        url: `/knowclub-api/knowclub/my-favorite/list?pageNo=${data.pageNum}&pageSize=${data.pageSize}&type=${data.type}`,
        data
    })
}
// 创建俱乐部或文章
export const CreateClubOrArticle = (data) => {
    return axios({
        method: 'put',
        url: `/knowclub-api/knowclub/favorite/create?name=${data.name}&type=${data.type}`,
        data
    })
}
// 俱乐部收藏列表
export const ClubCollectionList = (data) => {
    return axios({
        method: 'get',
        url: `/knowclub-api/knowclub/my-favorite/favoriteClubList?pageNo=${data.pageNum}&pageSize=${data.pageSize}&groupId=${data.groupId}`,
        data
    })
}
// 文章收藏列表
export const ArticleFavoritesList = (data) => {
    return axios({
        method: 'get',
        url: `/knowclub-api/knowclub/my-favorite/favoriteArticleList?pageNo=${data.pageNum}&pageSize=${data.pageSize}&groupId=${data.groupId}`,
        data
    })
}
// 删除收藏分组
export const UngroupFavorites = (data) => {
    return axios({
        method: 'delete',
        url: `/knowclub-api/knowclub/favorite/delete?id=${data.id}`,
        data
    })
}
// 更新收藏分组
export const UpdataFavorites = (data) => {
    return axios({
        method: 'put',
        url: `/knowclub-api/knowclub/favorite/update?id=${data.id}&name=${data.name}`,
        data
    })
}

//获取验证
export const CreateVerifys = (data) => {
    return axios({
        method: 'get',
        // url: `/xpert-api/xpert/xp-client-user-detail-seller-verify/get`,
        url: `/knowclub-api/knowclub/kc-client-user-detail-seller-verify/get`,
        data
    })
}
//更新验证
export const UpDataVerifys = (data) => {
    return axios({
        method: 'post',
        url: `/knowclub-api/knowclub/kc-client-user-detail-seller-verify/update`,
        data
    })
}

//FAQ列表
export const FaqsLists = (data) => {
    return axios({
        method: 'get',
        // url: `/xpert-api/xpert/xp-faqs/faqs-list?pageSize=5&pageNo=${data.pageNum}`,
        url: `/knowclub-api/knowclub/kc-faqs/faqsList?pageSize=5&pageNo=${data.pageNum}`,
        data
    })
}
//FAQ列表详情
export const FaqsListDetilss = (data) => {
    return axios({
        method: 'get',
        url: `/knowclub-api/knowclub/kc-faqs/faqsInfo?id=${data.id}`,
        data
    })
}
//反馈
export const Feedbacks = (data) => {
    return axios({
        method: 'post',
        url: `/knowclub-api/knowclub/feedback/create`,
        data
    })
}
//文章列表
export const ArticleListBot = (data) => {
    return axios({
        method: 'get',
        url: `/knowclub-api/common/common-tabs/list?pageNo=${data.pageNum}&pageSize=${data.pageSize}&tabId=${data.tabId}`,
        data
    })
}
//文章详情
export const ArticleDetailsList = (data) => {
    return axios({
        method: 'get',
        url: `/knowclub-api/common/common-tabs/info?id=${data.id}`,
        data
    })
}
// 折线图
export const LineChart = (data) => {
    return axios({
        method: 'post',
        url: `/knowclub-api/knowclub/kc-order/articleOrderStatistics`,
        data
    })
}

//买家更新用户详情
export const BuyerUpdatesUserDetailsss = (data) => {
    return axios({
        method: 'post',
        url: '/knowclub-api/knowclub/kc-client-user-detail-buyer/updateBuyer',
        data
    })
}
//myClubls
export const MyClublsOne = (data) => {
    return axios({
        method: 'get',
        url: `/knowclub-api/knowclub/kc-club-user-center/myJoinClub?pageNo=${data.pageNum}&pageSize=${data.pageSize}`,
        data
    })
}
//我的文章卖家购买
export const MyArticleIsBoughtByTheSeller = (data) => {
    return axios({
        method: 'get',
        url: `/knowclub-api/knowclub/kc-club-article-user-center/myJoinArticle?pageNo=${data.pageNum}&pageSize=${data.pageSize}&title=${data.title}&tagIds=${data.tagIds}&minPrice=${data.minPrice}&maxPrice=${data.maxPrice}&dateSearch=${data.dateSearch}`,
        data
    })
}
//文章置顶
export const PutArticleTheTop = (data) => {
    return axios({
        method: 'get',
        url: `/knowclub-api/knowclub/kc-club-article-user-center/topArticle?articleId=${data.articleId}`,
        data
    })
}
//文章置顶
export const OrderStatistics = (data) => {
    return axios({
        method: 'get',
        url: `/knowclub-api/knowclub/kc-order/orderStatistics`,
        data
    })
}
//文章置顶
export const ClubRevenueStatistics = (data) => {
    return axios({
        method: 'get',
        url: `/knowclub-api/knowclub/kc-order/clubArticleIncome?pageNo=${data.pageNum}&pageSize=${data.pageSize}`,
        data
    })
}
//刷新token
export const refreshTokenKc = (data) => {
    return axios({
        method: 'put',
        url: `/knowclub-api/knowclub/kc-client-auth/refresh-token?refreshToken=${data.refreshToken}`,
        data
    })
}
//俱乐部支付
export const ClubPays = (data) => {
    return axios({
        method: 'get',
        url: `/knowclub-api/knowclub/kc-order/paySubscriptionOrder?clubId=${data.clubId}&months=${data.months}&successUrl=${data.successUrl}&cancelUrl=${data.cancelUrl}`,
        data
    })
}
//创建订单
export const createOrders = (data) => {
    return axios({
        method: 'post',
        url: `/knowclub-api/knowclub/kc-order/create`,
        data
    })
}
//创建订单
export const createOrdersLink = (data) => {
    return axios({
        method: 'get',
        url: `/knowclub-api/knowclub/kc-order/payOrder?orderId=${data.orderId}&successUrl=${data.successUrl}&cancelUrl=${data.cancelUrl}`,
        data
    })
}
//退出俱乐部
export const QuitTheClub = (data) => {
    return axios({
        method: 'get',
        url: `/knowclub-api/knowclub/kc-club-user-center/quitClub?subscriptionStripeId=${data.subscriptionStripeId}`,
        data
    })
}
//获取收款卡
export const GetChargeCard = (data) => {
    return axios({
        method: 'get',
        url: `/knowclub-api/knowclub/kc-client-user-detail-seller/getAccountLink?successUrl=${data.successUrl}&cancelUrl=${data.cancelUrl}`,
        data
    })
}
//获取收款卡信息
export const getAccountPayCard = (data) => {
    return axios({
        method: 'get',
        url: `/knowclub-api/knowclub/kc-client-user-detail-seller/getAccountPayCard`,
        data
    })
}
//底部栏图标
export const BottomBarIcon = (data) => {
    return axios({
        method: 'get',
        url: `/knowclub-api/common/common-link/list`,
        // url: 'http://ceshifanyi.haiba.tech/api/chat_topics/chat',
        data
    })
}

//获取用户消息
export const GetUserMessagess = (data) => {
    return axios({
        method: 'get',
        url: `/knowclub-api/knowclub/notice-message/page?pageNo=${data.pageNum}&pageSize=${data.pageSize}&type=${data.type}`,
        data
    })
}
//取消状态 消息
export const CancelStatusMessages = (data) => {
    return axios({
        method: 'get',
        url: `/knowclub-api/knowclub/notice-message/get?notifyId=${data.notifyId}`,
        data
    })
}
//站内信未读统计
export const UnreadStatisticsMessagess = (data) => {
    return axios({
        method: 'get',
        // url: `/xpert-api/xpert/notify-message/unreadTotal`,
        url: `/knowclub-api/knowclub/notice-message/unreadTotal`,
        data
    })
}
//获取站内信息配置
export const GetSiteInformationConfigurations = (data) => {
    return axios({
        method: 'get',
        // url: `/xpert-api/xpert/notify-config/get`,
        url: `/knowclub-api/knowclub/notice-config/get`,
        data
    })
}
//验证邮箱验证码
export const VerifyMobileEmlsificationCodes = (data) => {
    return axios({
        method: 'put',
        // url: `/xpert-api/xpert/notify-config/verify-notify-email-code?code=${data.code}`,
        url: `/knowclub-api/knowclub/notice-config/verifyNotifyEmailCode?code=${data.code}`,
        data
    })
}
//验证手机验证码
export const VerifyMobilePhoneVerificationCodes = (data) => {
    return axios({
        method: 'put',
        url: `/knowclub-api/knowclub/notice-config/verifyNotifySmsCode?code=${data.code}`,
        data
    })
}
//发送邮箱验证码
export const SendEmaiSMSs = (data) => {
    return axios({
        method: 'put',
        url: `/knowclub-api/knowclub/notice-config/sendNotifySmscode`,
        data
    })
}
//发送邮箱验证码
export const SendEmailVerificationCodes = (data) => {
    return axios({
        method: 'put',
        url: `/knowclub-api/knowclub/notice-config/sendNotifyEmailCode`,
        data
    })
}
//保存站内信息
export const SaveSiteInformations = (data) => {
    return axios({
        method: 'post',
        url: `/knowclub-api/knowclub/notice-config/update`,
        data
    })
}
//获取用户未读数
export const GetUserUnreads = (data) => {
    return axios({
        method: 'get',
        // url: `/xpert-api/xpert/notify-message/unread-count`,
        url: `/knowclub-api/knowclub/notice-message/unreadCount`,
        data
    })
}
//获取用户未读消息
export const GetUserUnreadMessages = (data) => {
    return axios({
        method: 'get',
        url: `/knowclub-api/knowclub/notice-message/unreadPage?pageNo=1&pageSize=4`,
        data
    })
}
//生成pdf
export const CreatePDF = (data) => {
    return axios({
        method: 'get',
        url: `/knowclub-api/knowclub/kc-club-article-user-center/viewInvoice?orderId=${data.orderId}`,
        // url: 'http://ceshifanyi.haiba.tech/api/chat_topics/chat',
        data
    })
}
//UseNotifications